<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>
		<img src="./image/lunbo/8.jpeg" style="width: 200px;height: 200px;" id="img1" ><br>
		<input type="radio" name="sex" id="" value="" />男<br>
		<input type="radio" name="sex" id="" value="" />女<br>
		喜欢的运动：
		<input type="checkbox" name="" id="" value="" />篮球
		<input type="checkbox" name="" id="" value="" />羽毛球
		<input type="checkbox" name="" id="" value="" />乒乓球
		<input type="checkbox" name="" id="" value="" />排球<br>
		<button type="button" onclick="dock();">按钮</button>
	</body>
	<script type="text/javascript">
		function dock(){
			var img1src = document.getElementById('img1');
			console.log(img1src)
			img1src.src = 'https://gimg2.baidu.com/image_search/src=http%3A%2F%2Fimage.biaobaiju.com%2Fuploads%2F20180802%2F02%2F1533147833-MVGNCpWDSm.jpg&refer=http%3A%2F%2Fimage.biaobaiju.com&app=2002&size=f9999,10000&q=a80&n=0&g=0n&fmt=jpeg?sec=1637807297&t=7abcf0c03986ab3bdd337023f84b69cd';
		}
	</script>
</html>
